package com.mall.domain.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @description: 评论DTO
 * @author 勾新杰
 * @version 1.0
 * @date 2024/11/27 20:00
 */
@Data
@Schema(description = "评论DTO")
public class ReviewDTO {
    @Schema(description = "商品id")
    private Long itemId;
    @Schema(description = "订单id")
    private Long orderId;
    @Schema(description = "评分 1-5")
    private Integer rating;
    @Schema(description = "评论内容")
    private String comment;
    @Schema(description = "评论图片")
    private String image;
}
